package cn.sdormitory.evaluation.service;

import cn.sdormitory.evaluation.entity.WorkDayEntity;
import cn.sdormitory.evaluation.entity.WorkStuCheckEntity;
import cn.sdormitory.evaluation.vo.WorkDayVO;
import cn.sdormitory.exam.vo.ExamInfoVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface WorkDayService {

    /**
     * 分页查询登记列表
     * @param vo
     * @return
     */
    IPage<WorkDayEntity> findWorkDayPageList(WorkDayEntity vo);

    /**
     * 查询学生检查情况
     * @param type
     * @return
     */
    List<WorkStuCheckEntity> studentListByType(WorkStuCheckEntity vo);

    /**
     * 根据ID查询详情
     * @param id
     * @return
     */
    WorkDayEntity getDetailById(Long id);

    /**
     * 修改重要知识点、语法、单词作业、知识点/语法/单词背诵情况、课后作业检查情况
     * @param vo
     * @return
     */
    int updateDetailById(WorkDayEntity vo);

    /**
     * 添加检查结果
     * @param vo
     * @return
     */
    int addCheckResult(List<WorkStuCheckEntity> vo);


}
